a11y tests: Stop using can-focus
authorMatthias Clasen <mclasen@redhat.com>
Mon, 30 Mar 2020 01:50:31 +0000 (21:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 9 Apr 2020 21:50:29 +0000 (17:50 -0400)
26 files changed:
testsuite/a11y/accessible-name.ui
testsuite/a11y/assistant.ui
testsuite/a11y/buttons.ui
testsuite/a11y/calendar.ui
testsuite/a11y/combos.ui
testsuite/a11y/entries.ui
testsuite/a11y/expander.ui
testsuite/a11y/hello-world.ui
testsuite/a11y/iconview.ui
testsuite/a11y/infobar.ui
testsuite/a11y/label-static.ui
testsuite/a11y/label.ui
testsuite/a11y/link.ui
testsuite/a11y/listbox.ui
testsuite/a11y/lockbutton.ui
testsuite/a11y/menubutton.ui
testsuite/a11y/menubutton2.ui
testsuite/a11y/mnemonic.ui
testsuite/a11y/placeholder-text.ui
testsuite/a11y/progress.ui
testsuite/a11y/range.ui
testsuite/a11y/scale-drawvalue.ui
testsuite/a11y/spinner.ui
testsuite/a11y/statusbar.ui
testsuite/a11y/text.ui
testsuite/a11y/tree.ui

index 4b36e0ce7603092be17316cdeef24a22e9a203b5..a71bf44cc815dacecac55cf1c7deb46c0ee80f29 100644 (file)
@@ -2,12 +2,10 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkButton" id="button1">
         <property name="label" translatable="yes">Hello World!</property>
         <property name="visible">True</property>
-        <property name="can_focus">True</property>
         <property name="receives_default">True</property>
         <child internal-child="accessible">
           <object class="AtkObject" id="button1-accessible">
index dd13171d8a9416b32410f87f2670fba35511600d..b7be54e2bdb490d0944c021e643f099ed986ca33 100644 (file)
@@ -6,7 +6,6 @@
         <property name="child">
           <object class="GtkButton" id="button1">
             <property name="label" translatable="yes">Button 1</property>
-            <property name="can_focus">1</property>
           </object>
         </property>
       </object>
@@ -17,7 +16,6 @@
         <property name="child">
           <object class="GtkButton" id="button2">
             <property name="label" translatable="yes">Button 2</property>
-            <property name="can_focus">1</property>
           </object>
         </property>
       </object>
index 537a20144e0133bac2e1efa36afa4b17772bc159..9450cf6e6ef57175b2cf0116e011150e2a423ad9 100644 (file)
@@ -7,7 +7,6 @@
           <object class="GtkToggleButton" id="button1">
             <property name="label" translatable="yes">Hello World!</property>
             <property name="active">1</property>
-            <property name="can_focus">1</property>
             <property name="receives_default">1</property>
             <layout>
               <property name="left_attach">0</property>
@@ -18,7 +17,6 @@
         <child>
           <object class="GtkCheckButton" id="button2">
             <property name="label" translatable="yes">Hello World!</property>
-            <property name="can_focus">1</property>
             <property name="receives_default">1</property>
             <layout>
               <property name="left_attach">1</property>
@@ -29,7 +27,6 @@
         <child>
           <object class="GtkRadioButton" id="button3">
             <property name="label" translatable="yes">Hello World!</property>
-            <property name="can_focus">1</property>
             <property name="receives_default">1</property>
             <layout>
               <property name="left_attach">2</property>
@@ -42,7 +39,6 @@
             <property name="label" translatable="yes">Hello World!</property>
             <property name="active">1</property>
             <property name="group">button3</property>
-            <property name="can_focus">1</property>
             <property name="receives_default">1</property>
             <layout>
               <property name="left_attach">3</property>
@@ -53,7 +49,6 @@
         <child>
           <object class="GtkSwitch" id="button5">
             <property name="active">1</property>
-            <property name="can_focus">1</property>
             <property name="receives_default">1</property>
             <layout>
               <property name="left_attach">4</property>
@@ -63,7 +58,6 @@
         </child>
         <child>
           <object class="GtkSwitch" id="button6">
-            <property name="can_focus">1</property>
             <property name="receives_default">1</property>
             <child internal-child="accessible">
               <object class="AtkObject" id="button6-accessible">
@@ -78,7 +72,6 @@
         </child>
         <child>
           <object class="GtkButton" id="button7">
-            <property name="can_focus">1</property>
             <property name="receives_default">1</property>
             <property name="label">Text Button</property>
             <layout>
@@ -89,7 +82,6 @@
         </child>
         <child>
           <object class="GtkButton" id="button8">
-            <property name="can_focus">1</property>
             <property name="receives_default">1</property>
             <property name="halign">center</property>
             <property name="valign">center</property>
         </child>
         <child>
           <object class="GtkButton" id="button9">
-            <property name="can_focus">1</property>
             <property name="receives_default">1</property>
             <property name="halign">center</property>
             <property name="valign">center</property>
index ac1486f93d2d012b2e823a1ac9bce5211ed5f3e2..9a0da55b6fedd147a6e2f4a64fb0d2cecb492102 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkCalendar" id="calendar1">
         <property name="visible">True</property>
index d05f042e97fce6ac6a59cbece13656d59df67c76..e80bf1ce94475c0dbb46f3487d8e2fb29e2754f6 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkBox" id="box1">
         <child>
index 1f51b253482e6a35a0f31cffc3d14e71e0c0a2e9..b0fd260798f711a3626b23a2fce242cec5aafd5f 100644 (file)
@@ -10,7 +10,6 @@
     <property name="page-increment">5.0</property>
   </object>
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkBox" id="box1">
         <child>
index 89d8baef9e3ca82f89ccb224c45d2a265d23641d..76145bb35859a0e889d5fc8491ab34f30f663852 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkExpander" id="expander1">
         <property name="label" translatable="yes">Reveal this</property>
index 1b8ed5154a8c0a5345eaccd4abbc1737d9cc6f29..bed92b67b6ba8a26e79d10d84908d3941a1fe74a 100644 (file)
@@ -2,12 +2,10 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkButton" id="button1">
         <property name="label" translatable="yes">Hello World!</property>
         <property name="visible">True</property>
-        <property name="can_focus">True</property>
         <property name="receives_default">True</property>
       </object>
     </child>
index c262f24d83cfefa275405380ae09931cec28cbcc..a12d846b28f29f8c6431772a3eaeedd5627773d0 100644 (file)
@@ -14,7 +14,6 @@
     </data>
   </object>
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkIconView" id="iv1">
         <property name="visible">True</property>
index 52d2b82ea58e6caac7c10b5145256c059592c367..6348b08dc9ede42f8999437b7117c8ea6d2d71b3 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkInfoBar" id="bar1">
         <property name="visible">True</property>
index 32742dd4b7bc964057b9ef49a3b3b9b868963a90..08571bd1eea78b4bc96a5d92b755022357d85691 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkLabel" id="label1">
         <property name="label">Go to the &lt;a href="http://www.gtk.org" title="&lt;i&gt;Our&lt;/i&gt; website"&gt;GTK+ website&lt;/a&gt; or &lt;small&gt;&gt;&lt;a href="http://www.google.com"&gt;google it&lt;/a&gt;&lt;/small&gt;</property>
index 244bfeaacd568ac8fc123fba3e06a01337726085..6ad282a2c046aa1f98081dd961c8c9e13bff8d82 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkLabel" id="label1">
         <property name="label">Go to the &lt;a href="http://www.gtk.org" title="&lt;i&gt;Our&lt;/i&gt; website"&gt;GTK+ website&lt;/a&gt; or &lt;small&gt;&gt;&lt;a href="http://www.google.com"&gt;google it&lt;/a&gt;&lt;/small&gt;</property>
index 26458921e6d49af81cd6799a0953e1e234f19100..b91f8af62291279446d25449dad9c9fdd2c728d3 100644 (file)
@@ -2,12 +2,10 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkLinkButton" id="button1">
         <property name="label" translatable="yes">Hello World!</property>
         <property name="visible">True</property>
-        <property name="can_focus">True</property>
         <property name="uri">http://www.gtk.org</property>
         <property name="visited">True</property>
       </object>
index 6e5a588a68d51dfe1f808aacab07ab0510bd3ead..f87c5060180f4c32a8290c1895c69586366f35c9 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkBox" id="box1">
         <property name="visible">True</property>
index 745abd853c2ee8a0c5f0d53c84f813ecd8464439..6845ca0fea1bf21ab35534e8d48a12e66e8f1941 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkLockButton" id="button1">
         <property name="visible">True</property>
index c48c253b29c67a9a2d462958705daf38e4f2f5e5..a0423d57f7504b841d4fa9b90cc54109ecf5e030 100644 (file)
     </child>
   </object>
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkMenuButton" id="menubutton">
-        <property name="can_focus">True</property>
         <property name="popover">menu</property>
       </object>
     </child>
index 97c31b11ae144e14ee225cc21ef035f131c3bbd2..df1f590cc3f36dd57f46c78497ecd4baee1d66db 100644 (file)
@@ -9,10 +9,8 @@
     </section>
   </menu>
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkMenuButton" id="menubutton">
-        <property name="can_focus">True</property>
         <property name="menu-model">menu</property>
       </object>
     </child>
index dedf38fcd11a2a11ce21bd4b5bdcc34e991baab0..2e68cf8122080ad6418d629df991cc6f0ec2a8ec 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkBox" id="box1">
         <child>
index aa5b7a1a484034a861c111d6d454c2cf6a90868e..fef5966f85f62cacdcc434259c8d66ba6c98e24e 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkBox" id="box1">
         <property name="orientation">vertical</property>
index 7a9affe3250bc5fd7dfd173c6f040357b45b8fc5..b87c182995808d9dc6ba1702620b7578a638edef 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkProgressBar" id="progress1">
         <property name="visible">True</property>
index 256019aa6ae04470977c03acef8b1391a21a44a9..2cb26c30e071ba0bcacd7c5de215aaf240018b96 100644 (file)
@@ -12,7 +12,6 @@
       <object class="GtkGrid" id="grid1">
         <child>
           <object class="GtkScale" id="scale1">
-            <property name="can_focus">1</property>
             <property name="adjustment">adjustment1</property>
             <layout>
               <property name="left_attach">0</property>
@@ -22,7 +21,6 @@
         </child>
         <child>
           <object class="GtkScrollbar" id="scrollbar1">
-            <property name="can_focus">1</property>
             <property name="adjustment">adjustment1</property>
             <layout>
               <property name="left_attach">1</property>
index ad6abbeac0da24d3e293b7141f99c3d4ff4d3490..82823e548a83cc85a6bc874fa6c0dffe1953b70f 100644 (file)
@@ -9,12 +9,10 @@
     <property name="page_increment">10</property>
   </object>
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkScale" id="scale1">
         <property name="width-request">100</property>
         <property name="visible">True</property>
-        <property name="can_focus">True</property>
         <property name="adjustment">adjustment1</property>
         <property name="round_digits">1</property>
       </object>
index e268aafefd24ccb40cb1d75f76b65676a41ce293..6f8be8cf3cfeb9deb5ecd089e1c9e0ec28a1ea25 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkSpinner" id="spinner1">
         <property name="visible">True</property>
index deeb21c0b8cf0dc281141462040ce29f5b5b9601..b704061811009718adb38aa32d4e62d0af2668be 100644 (file)
@@ -2,7 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkStatusbar" id="statusbar1">
         <property name="visible">True</property>
index 7026eb748445bffef94d56a9c1a5fa1f578a14b1..d8fde1ed6ac064a2e2a92b0e248e4c5f4334e464 100644 (file)
@@ -6,11 +6,9 @@
 Did gyre and gimple in the wabe</property>
   </object>
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkTextView" id="text1">
         <property name="visible">True</property>
-        <property name="can_focus">True</property>
         <property name="buffer">buffer1</property>
       </object>
     </child>
index bdef6fd2e5d425fbe1d7ccae4e9afe7041ae3a18..eadd2c3e983457719cdde3e4a4467cc97b23af93 100644 (file)
     </data>
   </object>
   <object class="GtkWindow" id="window1">
-    <property name="can_focus">False</property>
     <child>
       <object class="GtkTreeView" id="tv">
         <property name="visible">True</property>
-        <property name="can_focus">True</property>
         <property name="model">store</property>
         <child>
           <object class="GtkTreeViewColumn" id="col">